// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import Vuex from 'vuex';
import store from './vuex/store';
import './common/js/base/device';
import YDUI from 'vue-ydui';
import './common/less/index.less';         // 公用less集合
import './common/less/uiChange.less';         // 公用less集合
import 'vue-ydui/dist/ydui.rem.css';
import BaiduMap from 'vue-baidu-map';
import './common/js/base/backbutton';
import './common/js/base/watchPosition';
import '@/common/less/icon.less';
import  '@/common/js/base/pedometer.js';  //运动检测
import loca from '@/common/js/base/location.js';
import ylAxios from '@/common/js/base/axios.js';
import MintUI from 'mint-ui';
import 'mint-ui/lib/style.css';
Vue.prototype.$GPS=loca.onPlusReady;
Vue.prototype.ylAjax=ylAxios;
Vue.use(Vuex);
Vue.use(MintUI);
Vue.config.productionTip = false;
Vue.use(YDUI);
Vue.use(BaiduMap, {
  ak: 'fUEcThvZhsCij8Zb9ihP97Giq9PQyACS'
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
